package com.yegs.jltqc.dao;

import com.yegs.jltqc.VO.BaseMenu;
import com.yegs.jltqc.VO.BasePlan;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface BaseMenuRepository extends JpaRepository<BaseMenu,Long> {

    BaseMenu findBaseMenuByName(String name);

    Page<BaseMenu> findBaseMenusByName(String name, Pageable pageable);


}
